<?php defined('SYSPATH') OR die('No direct access allowed.'); ?>

<div id='header_container'>
  <div id='header'>
    <div id='header_inner'>
      <h1 id='logo'> <a href="/" class="" title=""></a> </h1>
      <div class='layer2 clearfix'>
        <ul id='header_nav'>
<?php
if ($current_show == 1)
{
?>
	<li class='current'> <a href="/" class="G_event current">今日健身</a> </li>
<?php
}
else
{
?>
	<li> <a href="/" class="G_event">今日健身</a> </li>
<?php
}
?>
          <!--li> <a href="/chicago/all">All Deals</a> <a href="/chicago/all" class="new_badge">NEW</a> </li-->
<?php
if ($current_show == 2)
{
?>
          <li class='current'><a href="/learn" class="G_event current">新手帮助</a></li>
<?php
}
else
{
?>
          <li><a href="/learn" class="G_event">新手帮助</a></li>
<?php
}
?>
        </ul>
        <?php
			if (Auth::instance()->logged_in('login'))
			{
			?>
        <ul class="links">
          <li class="welcome"> <a href="/mygroupons" class="name "><?php echo Auth::instance()->get_user()->email; ?></a>
            <ul class="subnav">
              <li class="my_stuff label"></li>
              <li class="G_event E-MyStuffNH_MyFitnessCard_MyGifts"> <a href="/users/stuff/fit_card">我的健身卡</a> </li>
              <li class="G_event E-MyStuffNH_MyOrders_MyGifts"> <a href="/users/stuff/orders">我的订单</a> </li>
              <li class="G_event E-MyStuffNH_MyInvites_MyGifts"> <a href="/users/stuff/invites">我的邀请</a> </li>
              <li class="G_event E-MyStuffNH_MyPoints_MyGifts"> <a href="/users/stuff/points">我的积分</a> </li>
              <li class="G_event E-MyStuffNH_MySettings_MyGifts"> <a href="/users/stuff/settings">我的账户</a> </li>
              <li class="sign_out"><a href="/logout">退出</a></li>
            </ul>
          </li>
        </ul>
        <?php
			}
			else
			{
			?>
        <ul class='account_links'>
          <li class='sign_in'> <a href="/login" class="G_event E-GobalTopNavNH_click_signIn">登陆</a> </li>
          <li> <a href="/users/new" class="G_event E-GobalTopNavNH_click_signUp">注册</a> </li>
        </ul>
        <?php
			}
			?>
      </div>
    </div>
  </div>
  <div class='clearfix' id='content_container'>
    <div class='clearfix' id='cities'>
      <h2 class='division_name' id='new_drawer_anchor'> <a>福州</a> <!--a href="/cities">福州</a--> </h2>
      <a href="/invite" class="refer_cta G_event E-ReferAFriendPage_Header"><span>邀请好友, 获赠￥10</span></a> </div>
  </div>
</div>

